import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch
} from '../utils/request';


//查询门店等级规则
export function getmemberrule(data) {
  return post('/api/user-service/v1/StoreGradelevelLule/queryStoreGradelevelLule', data);
}
//增加门店等级规则
export function addmemberrule(data) {
  return post('/api/user-service/v1/StoreGradelevelLule/addStoreGradelevelLule', data);
}
//修改门店等级规则
export function upmemberrule(data) {
  return post('/api/user-service/v1/StoreGradelevelLule/updateStoreGradelevelLule', data);
}

//停用启用会员等级规则
export function usebutton(data) {
  return postJosn('/api/user-service/v1/StoreGradelevelLule/deleteStoreGradelevelLule', data);
}
//删除门店等级规则
// export function delmemberrule(data) {
//   return post('/api/user-service/v1/StoreGradelevelLule/deleteStoreGradelevelLule?uuid=' + data.uuid);
// }
//删除会员等级规则
export function delmemberrule(data) {
  return post('/api/user-service/v1/StoreGradelevelLule/deleteStoreGradelevelLule?uuid=' + data.uuid);
}
